<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<!-- meta -->
<meta name="keywords" content="">
<meta name="description" content="">
<!-- /meta -->
<title>
	<s:if test='actionType == "ADD"'>PSI登録</s:if>
	<s:else>PSI編集</s:else>
</title>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/base.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/headerfooter.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/ulol.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/arrow.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/elements.css">
<!-- admin -->
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/base_admin.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/elements_admin.css">
<!-- /admin -->
<script type="text/javascript" src="<%= request.getContextPath() %>/common/js/library.js"></script>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_winie3.css">

<script type="text/javascript">

</script>

</head>
<body id="dch">
<!-- === headerArea === -->
<div id="headerArea">
<a name="pageTop" id="pageTop"></a>
<jsp:include page="/common/include/header.jsp" />
</div><!-- === /headerArea === -->
<!-- === mainArea === -->
<div id="mainArea">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr valign="top">
		<td width="140" id="leftArea">
		<!-- === leftArea === -->
			<jsp:include page="topic_menu.jsp"/>
		<!-- === /leftArea === -->
		</td>
		<td width="20"><img src="<%= request.getContextPath() %>/common/images/spacer.gif" width="20" height="4" border="0" alt=""></td>
		<td id="contentsArea">
		<!-- === contentsArea === -->
			<!-- headingLv01Block -->
			<div class="headingLv01Block">
				<!-- headingLv01 -->
				<s:if test='actionType == "ADD"'>
					<h1>PSI登録</h1>
				</s:if>
				<s:else>
					<h1>PSI編集</h1>
				</s:else>
				<!-- /headingLv01 -->
			</div>
			<!-- /headingLv01Block -->
			<!-- columnB01 -->
			<div class="columnB01">
				<s:fielderror />
				<s:actionerror/>
				<s:actionmessage/>
			</div>
			<!-- /columnB01 -->
			<!-- headingLv02 -->
			<div class="headingLv02">
			<table border="0" cellspacing="0" cellpadding="5" width="558">
				<tr>
					<td><p><em>PSI情報<br></em></p></td>
				</tr>
			</table>
			</div>
			<!-- /headingLv02 -->
			<form action="<%= request.getContextPath() %>/topic/confirm" method="post" id="addForm">
				<s:hidden name="actionType"/>
				<s:hidden name="psiInfo.ver"/>
			<!-- tableBlock -->
			<div class="tableBlock">
				<!-- tableA01 -->
				<div class="tableA01">
				<table border="1" cellspacing="0" cellpadding="5" width="558">
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">PSI</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.psi" size="50" maxlength="300" cssErrorStyle="background-color: #FFE4E1"/>
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fDescription">日本語名</label>&nbsp;<small><font color="red" >*</font></small></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.name_jp" size="50" maxlength="300" cssErrorStyle="background-color: #FFE4E1"/>
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">日本語カナ</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.name_kana" size="50" maxlength="300" maxlength="300" />
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">英語名</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.name_eng" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">日本語別名</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.alias_jp" size="50" maxlength="300"  />
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">日本語別名カナ</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.alias_kana" size="50" maxlength="300"  />
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">説明</label></th>
						<!-- 内容 --><td>
							<s:textarea name = "psiInfo.description" cols="55"  rows="2"/>
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">軽度</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.latitude" size="20" maxlength="20" />
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">緯度</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.longitude" size="20" maxlength="20"/>
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">英語別名</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.alias_eng" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">生年月日 </label>&nbsp;<small><font color="red" >*</font></small></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.birth" size="15" maxlength="8" cssErrorStyle="background-color: #FFE4E1"/>
							<br/>*YYYYMMDD形式で入力してください。
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">没年月日</label>&nbsp;<small><font color="red" >*</font></small></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.death" size="15" maxlength="8" cssErrorStyle="background-color: #FFE4E1"/>
							<br/>*YYYYMMDD形式で入力してください。
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">関連URL</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.related_url" size="35" maxlength="300" />
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">人物URL</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.person_url" size="35" maxlength="300" />
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">公開者</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.published_by" size="35" maxlength="50" />
						</td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">更新者</label></th>
						<!-- 内容 --><td>
							<s:textfield name = "psiInfo.last_modified_by" size="35" maxlength="50" />
						</td>
					</tr>
				</table>
				</div>
				<!-- /tableA01 -->
			</div>
			<!-- headingLv02 -->
			<!-- pageNaviC01 -->
			<div class="pageNaviC01">
			<table border="0" cellspacing="0" cellpadding="10" width="558">
				<tr>
					<td width="298" class="left"><p><input type="button" value="キャンセル" style="width:100px" onclick="location.href='<%= request.getContextPath() %>/output/modoru'"></p></td>
					<td width="130" class="left">&nbsp;</td>
					<td width="130" class="right"><p><input type="submit" value="確認する" style="width:130px"/></p></td>
				</tr>
			</table>
			</div>
			<!-- /pageNaviC01 -->
			</form>
		<!-- === /contentsArea === -->
		</td>
		<td width="16"><img src="<%= request.getContextPath() %>/common/images/spacer.gif" width="16" height="4" border="0" alt=""></td>
	</tr>
</table>
</div><!-- === /mainArea === -->
<!-- === footerArea === -->
<div id="footerArea">
<jsp:include page="/common/include/footer.jsp" />
<!--#include virtual="<%= request.getContextPath() %>/common/include/footer.html" -->
</div><!-- === /footerArea === -->
</body>
</html>
<!-- System Architect is COOBA Corp
	Copyright 2010 COOBA Corp All rights reserved -->